editBackground
Type
property
Summary
Specifies that any objects created should be added to the background.
Syntax
set the editBackground of <stack> to {true | false}
Description
Use the editBackground property to edit the first group on the current card, or to find out whether the stack is in group-editing mode.
If the editBackground property is set to true, any newly created objects become part of the group being edited. If the editBackground is false, newly created controls are created as card controls and only appear on the current card.
If the current card has more than one group, the group whose number is lowest is edited when you set the editBackground of the stack to true.
You can use the start editing command to edit a specific group. Setting the editBackground property to false is equivalent to the stop editing command.
By default, the editBackground is set to false. This property is not preserved when the stack is saved, the property will always be false upon opening a stack.
Examples
set the editBackground of this stack to true
Related
function: stacks
glossary: object, property, current card, command, card control, object, background, group-editing mode
property: relayerGroupedControls, groupIDs
command: stop editing, group, start editing
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile